package javdoku;

import javax.swing.*;

public class LocatableJTextField extends JTextField{
	/**
	 * 
	 */
	private static final long serialVersionUID = 2756519001256611912L;
	private int row;
	private int col;
	private int val;
	//private JTextField field;
	public LocatableJTextField(int r, int c){
		super();
		row = r;
		col = c;
		val = 0;
	}
	public int getRow(){
		return row;
	}
	public int getCol(){
		return col;
	}
	public void setVal(int x){
		val = x;
	}
	public int getVal(){
		return val;
	}
}
